﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AppUIView;

namespace DebuggerApp
{
    public partial class OptionInfo : Form
    {
        public OptionInfo()
        {
            InitializeComponent();
        }
        public OptionInfo(IOperation view)
        {
            InitializeComponent();
            view.BtnClick += View_BtnClick;
        }

        private void View_BtnClick(object sender, EventArgs e)
        {
            //  throw new NotImplementedException();
            label1.Text = ((Control)sender).Name;
        }
    }
}
